package com.stadium.service;

import java.util.List;
import java.util.Map;

import com.stadium.dto.TeamListDto;
import com.stadium.entity.REventTeam;
import com.stadium.dto.REventTeamDto;
import com.stadium.vo.REventTeamVo;
import com.stadium.vo.searchVo.REventTeamSearchVo;

/**
 * 赛事球队关系表
 *
 * @author wsl
 * @email
 * @date 2021-05-07 21:59:01
 */
public interface REventTeamSV{
	List<REventTeam> queryBySQL(String sql, Map<String, Object> map);

    void save(REventTeamVo rEventTeamVo);

    void saveBatch(List<REventTeam> list);

    void delete(String id);

    void deleteBatch(String[] ids);

    void update(REventTeamVo rEventTeamVo);

    List<REventTeamDto> query(REventTeamSearchVo searchVo);

    REventTeamDto get(String id);

    int getCount(REventTeamSearchVo rEventTeamsearchVo);

    List<TeamListDto> queryTeamByEventId(String id);

    void saveTeams(String eventId, String[] teamIds);

    void saveTeamApply(String eventId, String[] teamIds);
}
